package com.blog.service;

import com.blog.entity.Order;
import com.baomidou.mybatisplus.service.IService;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mars123
 * @since 2019-07-02
 */
public interface OrderService extends BaseService<Order> {

    List<Order> getOrdersByUid(Integer id);

    Order gengeratOrder(Integer id, HttpSession session);

    Order payOrder(String outTradeNo);
}
